package com.jf.spring.bean;

import java.util.*;

/**
 * Created with IntelliJ IDEA
 * Description:
 * User:22954
 * Date:2024-10-22
 * Time:11:47
 */
public class Container {
    private String beanName;
    private List<Student> studentList;
    private Map<String, Student> studentMap;
    private Set<Student> studentSet;
    private String[] strings;
    private Properties properties;

    public String getBeanName() {
        return beanName;
    }

    public void setBeanName(String beanName) {
        this.beanName = beanName;
    }

    public List<Student> getStudentList() {
        return studentList;
    }

    public void setStudentList(List<Student> studentList) {
        this.studentList = studentList;
    }

    public Map<String, Student> getStudentMap() {
        return studentMap;
    }

    public void setStudentMap(Map<String, Student> studentMap) {
        this.studentMap = studentMap;
    }

    public Set<Student> getStudentSet() {
        return studentSet;
    }

    public void setStudentSet(Set<Student> studentSet) {
        this.studentSet = studentSet;
    }

    public String[] getStrings() {
        return strings;
    }

    public void setStrings(String[] strings) {
        this.strings = strings;
    }

    public Properties getProperties() {
        return properties;
    }

    public void setProperties(Properties properties) {
        this.properties = properties;
    }

    @Override
    public String toString() {
        return "Container{" +
                "beanName='" + beanName + '\'' +
                ", studentList=" + studentList +
                ", studentMap=" + studentMap +
                ", studentSet=" + studentSet +
                ", strings=" + Arrays.toString(strings) +
                ", properties=" + properties +
                '}';
    }
}
